package com.stylefeng.guns.modular.product.model;

import java.io.Serializable;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2019-03-15
 */
@Data
@TableName("sys_option")
public class Option extends Model<Option> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Excel(name = "Deals Number")
    @TableField("deal_no")
    private String dealNo;

    @Excel(name = "Bloomberg Trade Ticket")
    @TableField("bloomberg_trade_ticket")
    private String bloombergTradeTicket;

    @Excel(name = "Mid Price")
    @TableField("mid_price")
    private String midPrice;

    @Excel(name = "Delta%")
    private String delta;

    @Excel(name = "Vega")
    private String vega;

    @Excel(name = "Gamma")
    private String gamma;

    @Excel(name = "Theta")
    private String theta;

    private String status;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
